package com.ds.applet.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ds.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 产品品牌对象 mini_product_brand
 *
 * @author liucan
 * @date 2024-04-02
 */

@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class MiniProductBrand implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 产品品牌id
     */
    private Long id;

    /**
     * 品牌名称
     */
    @Excel(name = "品牌名称")
    private String brName;

    /**
     * 品牌宣传图
     */
    @Excel(name = "品牌宣传图")
    private String brPublicity;

    /**
     * 品牌详情图
     */
    @Excel(name = "品牌详情图")
    private String brDetails;

    /**
     * 是否显示 0显示 1隐藏
     */
    @Excel(name = "是否显示 0显示 1隐藏")
    private Integer brShow;

    /**
     * 状态 0正常 1删除
     */
    @Excel(name = "状态 0正常 1删除")
    private Integer brStatus;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private String creationTime;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    /**
     * 所属小程序
     */
    @Excel(name = "所属小程序")
    private String toApplet;

    @TableField(exist = false)
    private List<MiniProductModel> miniProductModels;//产品型号对象

    @TableField(exist = false)
    private String prType;//产品类型

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBrName() {
        return brName;
    }

    public void setBrName(String brName) {
        this.brName = brName;
    }

    public String getBrPublicity() {
        return brPublicity;
    }

    public void setBrPublicity(String brPublicity) {
        this.brPublicity = brPublicity;
    }

    public String getBrDetails() {
        return brDetails;
    }

    public void setBrDetails(String brDetails) {
        this.brDetails = brDetails;
    }

    public Integer getBrShow() {
        return brShow;
    }

    public void setBrShow(Integer brShow) {
        this.brShow = brShow;
    }

    public Integer getBrStatus() {
        return brStatus;
    }

    public void setBrStatus(Integer brStatus) {
        this.brStatus = brStatus;
    }

    public String getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(String creationTime) {
        this.creationTime = creationTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getToApplet() {
        return toApplet;
    }

    public void setToApplet(String toApplet) {
        this.toApplet = toApplet;
    }

    public List<MiniProductModel> getMiniProductModels() {
        return miniProductModels;
    }

    public void setMiniProductModels(List<MiniProductModel> miniProductModels) {
        this.miniProductModels = miniProductModels;
    }

    public String getPrType() {
        return prType;
    }

    public void setPrType(String prType) {
        this.prType = prType;
    }

    @Override
    public String toString() {
        return "MiniProductBrand{" +
                "id=" + id +
                ", brName='" + brName + '\'' +
                ", brPublicity='" + brPublicity + '\'' +
                ", brDetails='" + brDetails + '\'' +
                ", brShow=" + brShow +
                ", brStatus=" + brStatus +
                ", creationTime='" + creationTime + '\'' +
                ", remark='" + remark + '\'' +
                ", toApplet='" + toApplet + '\'' +
                ", miniProductModels=" + miniProductModels +
                ", prType='" + prType + '\'' +
                '}';
    }
}
